﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration; 
using System.ComponentModel.DataAnnotations;
using Wedo.Recognition.Domain.Models;

namespace Wedo.Recognition.Domain.Mapping
{
    public class Bank_Mapping:EntityConfiguration<Bank>
    {
        public Bank_Mapping()
        {
            ToTable("Bank");
            Property(s => s.Currency).HasMaxLength(50).HasColumnType("varchar");
            Property(s => s.BankCode).HasMaxLength(50).HasColumnType("varchar");
            Property(s => s.BankName).HasMaxLength(100).HasColumnType("nvarchar");
        }

    }
}
